package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 私教课程列表对象 coach_class
 * 
 * @author yuanML2018
 * @date 2025-01-04
 */
public class CoachClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程id */
    private Long id;

    /** 教练id */
    @Excel(name = "教练id")
    private Long coachId;

    /** 教练价格 */
    @Excel(name = "教练价格")
    private BigDecimal price;

    /** 简介 */
    @Excel(name = "简介")
    private String description;

    /** 好评率 */
    @Excel(name = "好评率")
    private BigDecimal goodReview;

    /** 累计上课数 */
    @Excel(name = "累计上课数")
    private Long classTotalNum;

    /** 标签 */
    @Excel(name = "标签")
    private String tag;

    /** 评分 */
    @Excel(name = "评分")
    private BigDecimal point;

    /** 是否推荐 */
    @Excel(name = "是否推荐")
    private Long ifRecommend;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCoachId(Long coachId) 
    {
        this.coachId = coachId;
    }

    public Long getCoachId() 
    {
        return coachId;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setGoodReview(BigDecimal goodReview) 
    {
        this.goodReview = goodReview;
    }

    public BigDecimal getGoodReview() 
    {
        return goodReview;
    }
    public void setClassTotalNum(Long classTotalNum) 
    {
        this.classTotalNum = classTotalNum;
    }

    public Long getClassTotalNum() 
    {
        return classTotalNum;
    }
    public void setTag(String tag) 
    {
        this.tag = tag;
    }

    public String getTag() 
    {
        return tag;
    }
    public void setPoint(BigDecimal point) 
    {
        this.point = point;
    }

    public BigDecimal getPoint() 
    {
        return point;
    }
    public void setIfRecommend(Long ifRecommend) 
    {
        this.ifRecommend = ifRecommend;
    }

    public Long getIfRecommend() 
    {
        return ifRecommend;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("coachId", getCoachId())
            .append("price", getPrice())
            .append("description", getDescription())
            .append("goodReview", getGoodReview())
            .append("classTotalNum", getClassTotalNum())
            .append("tag", getTag())
            .append("point", getPoint())
            .append("ifRecommend", getIfRecommend())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
